// 引入路由数组的类型
import type {RouteRecordRaw} from 'vue-router'
import News from '../pages/News.vue'
import Message from '../pages/Message.vue'
import MessageDetail from '../pages/MessageDetail.vue'
// 定义路由数组
const routes: RouteRecordRaw[] = {
    // Home路由
    {
        path:'/home',
        component: ()=>import('../pages/Home.vue')
    }
}